package com.wxzz.elearing.course.service.openfeign;


import com.wxzz.elearing.course.service.openfeign.sentinel.PlatformParamServiceFeignImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "1122-wxzzlearn-user-model",fallback = PlatformParamServiceFeignImpl.class)
public interface IPlatformParamServiceFeign {

    @RequestMapping(value = "/platform-param-api/selectOne", method = RequestMethod.POST)
    String selectOne(@RequestParam("key") String key);
}
